home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / beebe / updates / 00mail.9 < prev   
Text File  |  1990-10-01  |  9KB  |  293 lines

  1. 22-Jul-87 13:09:29-MDT,9242;000000000001
  2. Date: Wed 22 Jul 87 13:09:29-MDT
  3. From: "Nelson H.F. Beebe" <Beebe@SCIENCE.UTAH.EDU>
  4. Subject: DVI driver family update #9
  5. To: "DVI mailing list": ;
  6. cc: BEEBE@SCIENCE.UTAH.EDU
  7. X-US-Mail: "Center for Scientific Computation, South Physics, University of Utah, Salt Lake City, UT 84112"
  8. X-Telephone: (801) 581-5254
  9. Message-ID: <12320452968.12.BEEBE@SCIENCE.UTAH.EDU>
  10.  
  11.                    DVI Driver Family Update #9
  12.                            [22-Jun-87]
  13.  
  14. The University of Utah Mathematics Department purchased 12 Sun
  15. 3/50's, a 3/110 color system (for me), and a 3/260 file server
  16. with 575Mb disk; 4 of these have been running now for 2 weeks,
  17. during which time I have been busy learning about them, and
  18. installing software on them.
  19.  
  20. During the first week, I got jove and gnu emacs running, and as
  21. of 19-Jun-87 (Friday morning), TeX 2.2, plus AMSTeX, LaTeX,
  22. SLITeX, BibTeX, and all the DVI drivers are now operational.  TeX
  23. 2.2 was released 10-Jun-87 at Stanford, and most LaTeX .sty and
  24. .doc files were updated about the same time.  I have updated our
  25. TOPS-20 system (SCIENCE.UTAH.EDU), plus 2 VAX VMS systems, plus
  26. the Sun's to this level.
  27.  
  28. Metafont on the Sun's core dumps immediately; we are at Sun
  29. OS 3.2, and the TeX distribution tree I tar'ed over from
  30. CS.UTAH.EDU has only change files for Sun OS version 2, so I
  31. expect there is some incompatibility there, although nothing
  32. obvious showed up in the build process, which I repeated
  33. twice for checking purposes.
  34.  
  35. What all of this means is that we now have our own local
  36. Unix systems besides TOPS-20, VMS, and MS-DOS available for
  37. development.  Until last October, I had Eunice (4.1BSD under
  38. VAX VMS), but we upgraded the VAX 750 to an 8600, and the
  39. Eunice licensing for the 8600 is still under negotiation, so
  40. I have been without substantial Unix access for the last 8
  41. months.  I do have guest accounts on several campus Unix
  42. machines, but cannot reasonably do any sofware development
  43. on them.
  44.  
  45. The Sun installation necessitated a few changes, which are
  46. given by Unix diff listings below.  For those unfamiliar
  47. with diff, a command
  48.  
  49. diff oldfile newfile
  50.  
  51. produces lines beginning "<" from the old file, and those
  52. following which begin with ">" are the replacement lines
  53. from the new file, so the listings have the same order as a
  54. Web
  55.  
  56. @x
  57. old
  58. @y
  59. new
  60. @z
  61.  
  62. change file sequence.  Lines preceded by #1,a#2,#3 are to be
  63. added at line number #1.  Similarly, #1,#2c#3,#4 represents
  64. a change of lines #1 through #2.
  65.  
  66. ========================================================================
  67. CLRBMAP.H: -- missing two typecasts
  68.  
  69. 17c17
  70. <       p = BITMAP(y,0);
  71. ---
  72. >         p = (UNSIGN32*)BITMAP(y,0);
  73. 44,45c44,45
  74. <
  75. <     p = BITMAP(YBIT-1,XBIT-1);        /* the last element */
  76. ---
  77. >     p = (UNSIGN32*)BITMAP(YBIT-1,XBIT-1);     /* the last element */
  78. >
  79.  
  80. ========================================================================
  81. DVIALW.PS:      -- fix error in /LEGAL macro; thanks to Ken Yap
  82.                 (ken@cs.rochester.edu) for finding this one
  83.  
  84. 0a1,2
  85. > % <BEEBE.TEX.DVI>DVIALW.PS.14, 22-Jun-87 09:55:05, Edit by BEEBE
  86. > % Add missing "0 900 translate Mtrx currentmatrix pop" to /LEGAL
  87. 194a197,198
  88. >   0 900 translate
  89. >   Mtrx currentmatrix pop
  90.  
  91. That is, it should read
  92. /LEGAL
  93. {
  94.   legal initmatrix
  95.   72 Resolution div dup scale
  96.   0 900 translate
  97.   Mtrx currentmatrix pop
  98. } bdf
  99.  
  100. ========================================================================
  101. DVIJEP.C:       -- several expressions too complex for Sun cc compiler;
  102.                 it is amazing that it could not even compile the
  103.                 simple product 4.0*(tcharptr->tfmw)*conv!
  104.  
  105. 351a352,353
  106. >     float temp;
  107. >     INT16 ntemp;
  108. 389,394c391,406
  109. <     OUT16(MAX(-128,MIN(-(tcharptr->xoffp),127)));
  110. <     OUT16(MAX(-128,MIN(tcharptr->yoffp,127)));
  111. <     OUT16(MIN(128,tcharptr->wp));
  112. <     OUT16(MIN(255,tcharptr->hp));
  113. <     OUT16(ROUND(4.0*(tcharptr->tfmw)*conv));  /* delta x to nearest */
  114. <                                               /* 1/4 dot */
  115. ---
  116. >     /* Apologies for the temporary variables; the Sun OS 3.2 cc could
  117. >     not compile the original expressions. */
  118. >     ntemp = MIN(-(tcharptr->xoffp),127);
  119. >     ntemp = MAX(-128,ntemp);
  120. >     OUT16(ntemp);
  121. >     ntemp = MIN(tcharptr->yoffp,127);
  122. >     ntemp = MAX(-128,ntemp);
  123. >     OUT16(ntemp);
  124. >     ntemp = MIN(128,tcharptr->wp);
  125. >     OUT16(ntemp);
  126. >     ntemp = MIN(255,tcharptr->hp);
  127. >     OUT16(ntemp);
  128. >     temp = tcharptr->tfmw;
  129. >     temp = 4.0*temp*conv;
  130. >     ntemp = ROUND(temp);
  131. >     OUT16(ntemp);                     /* delta x to nearest 1/4 dot */
  132.  
  133.  
  134. ========================================================================
  135. GETBMAP.H:      -- optional; Sun cc will not accept the backslash line
  136.                 continuation, most other compilers require it.  A single long
  137.                 line instead would solve the problem, but requires a line
  138.                 which exceeds 80 characters, which is a portability no-no.
  139.  
  140. 27,28c27,28
  141. <       bitmap = (UNSIGN32*)MALLOC( ((UNSIGN32)(XBIT)) * ((UNSIGN32)(YBIT)) * \
  142. <           sizeof(UNSIGN32) );
  143. ---
  144. >       bitmap = (UNSIGN32*)MALLOC( ((UNSIGN32)(XBIT)) * ((UNSIGN32)(YBIT)) *
  145. >               sizeof(UNSIGN32) );
  146.  
  147. ========================================================================
  148. MACHDEFS.H:     -- Unix TeX from U of Washington does not follow the
  149.                 Stanford directory naming conventions, sigh..., so we
  150.                 change the SUBPATH default directory name.  Also, the
  151.                 tests for compile-time definition of FONTLIST, FONTPATH and
  152.                 SUBPATH need #ifdef instead of #if.
  153.  
  154. 95d94
  155. <     DECLN03PLUS    -- DEC LN03-PLUS laser printer
  156. 165c164
  157. < #define REWIND(fp)    FSEEK(fp,0L,0)
  158. ---
  159. > #define REWIND(fp)    fseek(fp,0L,0)
  160. 206d204
  161. < #define DECLN03PLUS    0
  162. 225d222
  163. 285c282
  164. < #ifdef FONTLIST        /*  can be set at compile-time */
  165. ---
  166. > #if    FONTLIST        /*  can be set at compile-time */
  167. 290c287
  168. < #ifdef FONTPATH            /*  can be set at compile-time */
  169. ---
  170. > #if    FONTPATH            /*  can be set at compile-time */
  171. 303c300
  172. < #ifdef SUBPATH            /*  can be set at compile-time */
  173. ---
  174. > #if    SUBPATH            /*  can be set at compile-time */
  175. 550c547
  176. < #ifdef FONTLIST        /*  can be set at compile-time */
  177. ---
  178. > #if    FONTLIST        /*  can be set at compile-time */
  179. 555c552
  180. < #ifdef FONTPATH            /*  can be set at compile-time */
  181. ---
  182. > #if    FONTPATH            /*  can be set at compile-time */
  183. 568,570c565,567
  184. < #ifdef SUBPATH            /*  can be set at compile-time */
  185. < #else
  186. < #define SUBPATH        "/usr/lib/tex/macros/"
  187. ---
  188. > #if    SUBPATH            /*  can be set at compile-time */
  189. > #else
  190. > #define SUBPATH        "/usr/lib/tex/inputs/"
  191. 613a611,631
  192. > /* Avoid stupid undefined macro name warnings */
  193. > #ifndef FONTLIST
  194. > #define FONTLIST 0
  195. > #endif
  196. > #ifndef FONTPATH
  197. > #define FONTPATH 0
  198. > #endif
  199. > #ifndef SUBPATH
  200. > #define SUBPATH 0
  201. > #endif
  202. > #ifndef TEXINPUTS
  203. > #define TEXINPUTS 0
  204. > #endif
  205. > #ifndef TEXFONTS
  206. > #define TEXFONTS 0
  207. > #endif
  208. 621c639,640
  209. < #ifndef FONTLIST        /*  can be set at compile-time */
  210. ---
  211. > #if    FONTLIST        /*  can be set at compile-time */
  212. > #else
  213. 625c644,645
  214. < #ifndef FONTPATH        /*  can be set at compile-time */
  215. ---
  216. > #if    FONTPATH            /*  can be set at compile-time */
  217. > #else
  218. 644c664,665
  219. < #ifndef SUBPATH            /*  can be set at compile-time */
  220. ---
  221. > #if    SUBPATH            /*  can be set at compile-time */
  222. > #else
  223. 648c669,670
  224. < #ifndef TEXINPUTS        /*  can be set at compile-time */
  225. ---
  226. > #if    TEXINPUTS        /*  can be set at compile-time */
  227. > #else
  228. 652c674,675
  229. < #ifndef TEXFONTS            /*  can be set at compile-time */
  230. ---
  231. > #if    TEXFONTS            /*  can be set at compile-time */
  232. > #else
  233.  
  234. ========================================================================
  235. MAKEFILE.UNX: --optional; we insist that all local additions to our Unix
  236.                 systems be placed ONLY under the tree /usr/local.  The
  237.                 Washington TeX distribution assumes fonts and input
  238.                 files are under /usr/lib; the changes to CFLAGS provide
  239.                 for this:
  240.  
  241. 12c12,14
  242. < CFLAGS = -DANSI=0 -DUNIX
  243. ---
  244. > CFLAGS = -DANSI=0 -DUNIX \
  245. >       -DFONTPATH="\"/usr/local/lib/tex/fonts/\"" \
  246. >       -DSUBPATH="\"/usr/local/lib/tex/macros/\""
  247. 18c20,22
  248. < RM = rm
  249. ---
  250. > RM = /bin/rm
  251. >
  252. > C = .c
  253. 30c34,35
  254. < # Targets
  255. ---
  256. > # Targets (lw78 is excluded--most Unix sites have Transcript or devps
  257. > # which offer similar features)
  258. 34,35c39,48
  259. <       keytst  lptops  lw78    texidx  tosprx
  260. <
  261. ---
  262. >       keytst  lptops  texidx  tosprx
  263. >
  264. >
  265. > CLEAN:
  266. >       $(RM) *.o
  267. >       $(RM) -f 00arit \
  268. >               dvialw dvibit dvican dvigd dviimp dvijep dvijet dvil75 \
  269. >               dvim72 dvimac dvimpi dvio72 dvioki dviprx dvitos \
  270. >               keytst lptops texidx tosprx
  271. >
  272.  
  273. ========================================================================
  274. TOSPRX.C:       -- removed unused arguments
  275.  
  276. 58,60c58
  277. < main(argc,argv)
  278. < int argc;
  279. < char *argv[];
  280. ---
  281. > main()
  282.  
  283. ========================================================================
  284.                             [The End]
  285.  
  286. -------
  287.